package com.wn.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yellow Docter
 * @date 2022 -07-15
 * @desc
 */
@RestController
public class IndexController {

    private static final Logger log = LoggerFactory.getLogger(IndexController.class);

    @RequestMapping("hello")
    public String hello(){

        log.debug("debug msg ");
        log.info("info msg");
        log.error("error msg");

        return "hello";
    }
}
